Skip to content

[Test] Fix: expand ~ in CCACHE_CONFIGPATH for macOS builds#1

Open
b95702041 wants to merge 26 commits intomasterfrom
release_to_pypi
Open

[Test] Fix: expand ~ in CCACHE_CONFIGPATH for macOS builds#1
b95702041 wants to merge 26 commits intomasterfrom
release_to_pypi

Conversation

@b95702041
Copy link
Owner

Testing the fix for macOS CI failure before submitting to upstream.

Fix: Added os.path.expanduser() to expand ~ in ccache config path.

Test:

  • Before: FileNotFoundError: '~/test_ccache.conf'
  • After: Successfully expands to /home/user/test_ccache.conf

Related upstream PR: Cytnx-dev#741

IvanaGyro and others added 26 commits November 28, 2025 17:41
- Use os.path.expanduser() to properly expand ~ in ccache config path
- Fixes FileNotFoundError on macOS builds in cibuildwheel
- Resolves CI failure in PR Cytnx-dev#711
- Create symlink from /usr/include/openblas/cblas.h to /usr/include/cblas.h
- Fixes compilation error: 'cblas.h: No such file or directory'
- Similar to existing lapacke.h, lapack.h symlinks
- cblas.h requires openblas_config.h
- Create symlink from /usr/include/openblas/openblas_config.h
- Add CPATH to environment to include /usr/include/openblas
- Create symlinks for all OpenBLAS headers
- Fixes openblas_config-x86_64.h not found error
- Install gcc-c++, glibc-devel, kernel-headers
- Fixes math.h not found error with gcc-toolset-14
- Add CFLAGS and CXXFLAGS with -I/usr/include for Linux builds
- Helps gcc-toolset-14 find standard headers like math.h
- macOS configuration unchanged
- Install gcc-c++, glibc-devel, kernel-headers
- Add cblas.h and openblas_config.h symlinks
- Use ln -sf to force overwrite
- Add verification steps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants